const member = [
  {
    path: 'member',
    component: () => import(/* webpackChunkName: "platform" */ '@/layout/platform'),
    name: 'member',
    redirect: '/member',
    alwaysShow: true,
    meta: {
      title: 'member',
      code: 'Member',
      icon: 'el-icon-medal',
      allIdentity: true
    },
    children: [
      {
        path: 'memberCenter',
        component: () => import(/* webpackChunkName: "platform" */ '@/views/member/index'),
        meta: {
          title: 'memberCenter',
          code: 'MemberCenter',
          breadcrumb: false,
          icon: 'el-icon-house'
        },
        children: [
          {
            path: '',
            name: 'MemberCenter',
            component: () => import(/* webpackChunkName: "platform" */ '@/views/member/memberCenter'),
            meta: {
              title: 'memberCenter',
              code: 'MemberCenter',
              breadcrumb: false,
              icon: 'el-icon-house'
            }
          },
          {
            path: 'individual',
            name: 'Individual',
            hidden: true,
            component: () => import(/* webpackChunkName: "platform" */ '@/views/member/individual/index'),
            meta: {
              title: 'individual',
              code: 'Individual',
              icon: 'el-icon-user'
            }
          },
          {
            path: 'group',
            name: 'Group',
            hidden: true,
            component: () => import(/* webpackChunkName: "platform" */ '@/views/member/group/index'),
            meta: {
              title: 'group',
              code: 'Group',
              icon: 'el-icon-collection-tag'
            }
          },
          {
            path: 'all',
            name: 'All',
            hidden: true,
            component: () => import(/* webpackChunkName: "platform" */ '@/views/member/all'),
            meta: {
              title: 'all',
              code: 'All',
              icon: 'el-icon-house'
            }
          }
        ]
      }
    ]
  }
];

export default [
  ...member
];
